<template>
    <el-result icon="error" title="未找到页面" sub-title="页面文件不存在，请联系管理员。">
        <template #extra>
            <el-button type="primary" @click="gotoPage()">返回</el-button>
        </template>
    </el-result>
</template>

<script setup>
import { inject } from 'vue';
const addMenuIab = inject('addMenuIab');

const gotoPage = () => {
    addMenuIab({ id: 'startup', title: '仪表盘', path: '/index/index' })
}
</script>